<template>
	<view>
	<!-- <div> -->
	    <!-- 注意事项: 不能使用 index 作为 key 的唯一标识 -->
	    <div style="display: flex;" v-for="(item, index) in dataList" :key="item.id">
			<div>
				<image style="width: 100rpx; height: 100rpx;" :src="item.img" ></image>
			</div>
			<div>
				<text>{{item.name}}</text>
		  
		  <div>
			  {{item.text}}
		  </div>
		  </div>
	    </div>
	  </div>
	  </view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'Hello',
				dataList: [{name: "1", text: '吃没',img: "../../static/01.jpg"}, 
				{name: "2", text: '您好',img: "../../static/02.webp"}, 
				{name: "3", text: '我',img: "../../static/03.webp"}]
			}
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style scoped>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: #8f8f94;
	}
</style>
